import 'babel-polyfill';

import Vue from 'vue'
import App from './App'
import store from './store'
import router from './router'
import * as echarts from 'echarts'
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
import enLang from 'element-ui/lib/locale/lang/en'
Vue.prototype.$echarts = echarts
Vue.prototype.requestUrl = 'http://59.198.2.188:80'
Vue.config.productionTip = false
Vue.use(ElementUI);
import { BootstrapVue, BootstrapVueIcons } from 'bootstrap-vue'

import 'bootstrap/dist/css/bootstrap.css'
import 'bootstrap-vue/dist/bootstrap-vue.css'

Vue.use(BootstrapVue)
Vue.use(BootstrapVueIcons)
import moment from 'moment'
Vue.filter('moment', function (value, formatString) {
    formatString = formatString || 'MM-DD';
    return moment(value).format(formatString);
});

new Vue({
  el: '#app',
  router,
  store,
  components: { App },
  template: '<App/>'
})
